Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add multi branch build; add initial support for apk #1139

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

a-gave
Copy link
Contributor

@a-gave a-gave commented Nov 17, 2024

These changes are made:

Details:
chore: add include libremesh.mk in more packages
modify various packages to use libremesh.mk
related to the issue #766
drop the package lua-argparse since it is available in openwrt feeds.

modify PKG_VERSION to follow apk semantics:
use by default $(GIT_COMMIT_DATE)$(GIT_COMMIT_TSTAMP)
like 2024.11.16
1731788517
if a specific PKG_VERSION is not defined
From openwrt/packages:
Preparations to switch to APK package manager openwrt/packages#23706

ci: update feeds scheme to build C++ packages for 3 latest openwrt branches
the new scheme make these packages available at
https://github.com/libremesh/lime-feed/
referenced by apk in /etc/apk/repositories as
@libremesh_arch_packages https://feed.libremesh.org/arch_packages/master/openwrt_main/x86_64/packages.adb

ci: disable sign packages in main openwrt branch
not yet supported, there is an active pull
Support sign apk feed openwrt/gh-action-sdk#46

to install packages use "apk add --allow-untrusted lime-docs"

lime-system: add apk option in 92_add-lime-repos
chore: update README.md with instruction for apk

modify various packages to use libremesh.mk.
drop the package lua-argparse since it is available in openwrt feeds.
adapt packages to apk version schema.
@a-gave a-gave changed the title Ci: multi branch build ci: add multi branch build; add initial support for apk Nov 17, 2024
@a-gave
Copy link
Contributor Author

a-gave commented Nov 17, 2024

push un-pushed fixes: external_repositories was set to fork.

update apk repositories file to reflect latest changes in openwrt,
creating a /etc/apk/repositories.d/limefeeds.list for lime-packages:
apk: add a customfeeds.list configuration file
base-files: move apk distfeeds into directory

@ilario
Copy link
Member

ilario commented Nov 17, 2024

Wow this is a huge amount of work!
Do you think we should include this in the upcoming 2024.1 release or is it ok to leave it for a next release?
Is this also related to #1135 ?

@a-gave
Copy link
Contributor Author

a-gave commented Nov 17, 2024

I'm doing some fixes [done]

the new workflow build.yml should be added soon because next push will use openwrt-main with apk, thus not building almost every lime-packages because of incorrect PKG_VERSION

Yes it is related 1135 to because to use shared-state-async on new builds based on 24.10.x or 23.05.x you should use the feed libremesh_arch_packages if you look for a precompiled one, es:
https://feed.libremesh.org/arch_packages/master/openwrt_23.05/mips_24kc/

lime-system: add apk option in 92_add-lime-repos

ci: update feeds scheme to build C++ packages for 3 lastest openwrt branches
      the new scheme make these packages available at
      https://github.com/libremesh/lime-feed
      referenced by apk in /etc/apk/repositories as
      @libremesh_arch_packages https://feed.libremesh.org/arch_packages/master/openwrt_main/x86_64/packages.adb

ci: disable sign packages in main openwrt branch
      not yet supported, there is an active pull
      Support sign apk feed openwrt/gh-action-sdk#46
      to install packages use "apk add --allow-untrusted lime-docs"
@a-gave
Copy link
Contributor Author

a-gave commented Nov 17, 2024

it should be now ready
the workflow multi-arch-build was failing on publishing packages but it should be ok now, i'm testing with all archs

@a-gave
Copy link
Contributor Author

a-gave commented Nov 17, 2024

I confirm that the fail on publishing is fixed since packages are now produced in this fork
https://github.com/a-gave/lime-feed/tree/gh-pages/arch_packages/master/

I updated the description adding more notes on this.

@a-gave
Copy link
Contributor Author

a-gave commented Nov 17, 2024

Just noticed the fail of job build packages with Merge pull request #1133 from henmohr/issue/1077
https://github.com/libremesh/lime-packages/actions/runs/11881297358
and add another note on the description mentioning the update of openwrt-sdk-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants